package com.itheima.admin.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("ad_sensitive")
@ApiModel(description = "敏感词管理")
public class AdSensitive {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id",dataType="int")
    private Integer id;

    @TableField("sensitives")
    @ApiModelProperty(notes = "敏感词",dataType="String")
    private String sensitives;

    @TableField(value = "created_time",fill = FieldFill.INSERT)
    @ApiModelProperty(notes = "创建时间",dataType="local date time")
    private LocalDateTime createdTime;
}
